<template>
    <div class="ptop">
        <div class="container">
            <div class="fnn">
                <div class="con">
                    <div class="img1"><img src="@/assets/logo-220-red.b9d777d2.png" alt=""></div>
                    <div class="pay">付款</div>
                </div>
                <div class="fn">
                    <div class="mi">
                        <div class="order">待付订单: 共笔</div>
                        <div class="order1">订单金额 ¥ <span class="ite">{{totalMoney}}</span></div>
                    </div>
                    <div class="item">付款方式：中介保护 <span class="ite1">（付款到网站中介保护平台，完成交易后才会把款项支付给卖家）</span> </div>
                </div>
                <div class="activepay">
                    <h2>支付方式</h2>
                    <div class="tip">请在下单后 60分钟 内付款，超时后他人将有机会购买。</div>
                </div>
                <div class="behaving">
                    <div class="imga">
                        <img src="@/assets/log.png" alt="">
                        <div class="item1">支付宝 /
                            <span class="it1">新客免手续费 </span>
                            <span> 了解详情</span>
                        </div>
                    </div>
                    <div class="order1">支付总额 ¥ <span class="ite">{{totalMoney}}</span></div>
                </div>
                <div class="pagimg"><img src="@/assets/zhifu.png" alt="">
                    <div class="btn1">
                        <div class="tip">手机没在身边？</div>
                        <div class="btn">支付宝网页支付</div>
                    </div>
                </div>
            </div>
            <carBottom></carBottom>
        </div>
    </div>
</template>

<script lang="ts">
import carBottom from '@/components/personal/carBottom.vue';


import { defineComponent } from 'vue';
export default defineComponent({
    data() {
        return {
            totalMoney: 0
        }
    },
    components: {
        carBottom
    },
    mounted() {
        this.totalMoney = this.$route.query.totalMoney as unknown as number
    }

}) 
</script>

<style lang="scss" scoped>
.ptop {
    height: 70px;
    width: 100%;
    margin-bottom: 10px;
    background-color: #fff;
    border-bottom: 1px solid rgb(205, 203, 203);

    // border: 1px solid red;
    .container {
        width: 1000px;
        margin: 30px auto;

    }

    .fnn {
        border-bottom: 1px solid rgb(205, 203, 203);
    }

    .imga {
        display: flex;
        align-items: center;
        margin-left: 10px;
    }

    .behaving {
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .item1 {
            color: #1677FF;
        }

        .it1 {
            color: #8c222c;
        }

        .ite {
            font-size: 20px;
            color: #8c222c;
        }
    }

    .pagimg {
        display: flex;
        align-items: center;
        width: 300px;
        margin-left: 20px;
        margin-top: 20px;
        border-right: 1px solid rgb(205, 203, 203);
        margin-bottom: 20px;

    }

    .btn1 {
        margin-left: 200px;
    }

    .btn {
        width: 160px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        color: #fff;
        font-size: 16px;
        background: #1c9bd5;
        border-radius: 2px;
    }

    .con {
        display: flex;
        align-items: center;
    }

    .img1 {
        width: 240px;
        height: 60px;
        border-right: 1px solid rgb(237, 234, 234);
        padding-right: 20px;

        >img {
            margin-top: 18px;
            height: 30px;
            width: 100%;
        }
    }

    .pay {
        font-size: 26px;
        color: #333;
        margin-left: 10px;

    }

    .fn {
        margin-top: 15px;
        padding-top: 20px;
        height: 80px;
        padding-left: 20px;
        padding-right: 20px;
        font-size: 14px;
        color: #333;
        background: #f8f7f3;

        .mi {
            display: flex;
            justify-content: space-between;

            .ite {
                font-size: 20px;
                color: #8c222c;
            }

        }

        .item {
            margin-top: 15px;
        }

        .ite1 {
            color: #999;
        }
    }

    .activepay {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #a9987f;
    }

    .tip {
        margin-left: 10px;
        font-size: 12px;
        color: #a9987f;
    }
}
</style>